/**
 * @filename:MilvusConfig 2025-04-15
 * @project starhub-schema  V1.0
 */
package com.starhub.common.bean.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.Data;
import java.util.Date;

/**   
 * @Description:(向量库配置实体类)
 * @version: V1.0
 * @author: luosw
 */
@Data
@ApiModel
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class MilvusConfig implements Serializable {

	private static final long serialVersionUID = 1744715840019L;
	
    @JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(name = "id" , value = "雪花算法生成的全局唯一 ID")
	private Long id;
    
	@ApiModelProperty(name = "interfaceName" , value = "实例的基本显示名称")
	private String interfaceName;
    
	@ApiModelProperty(name = "mark" , value = "标记字段，作为连接、查询、更新的主要依据")
	private String mark;
    
	@ApiModelProperty(name = "host" , value = "Milvus地址")
	private String host;
    
	@ApiModelProperty(name = "port" , value = "Milvus端口号")
	private Integer port;
    
	@ApiModelProperty(name = "username" , value = "用户名")
	private String username;
    
	@ApiModelProperty(name = "password" , value = "密码")
	private String password;
    
	@ApiModelProperty(name = "databaseName" , value = "数据库")
	private String databaseName;
    
	@ApiModelProperty(name = "createTime" , value = "创建时间")
	private Date createTime;
    
	@ApiModelProperty(name = "updateTime" , value = "更新时间")
	private Date updateTime;
    
	@ApiModelProperty(name = "deleteType" , value = "逻辑删除标识，0表示未删除，1表示已删除")
	private Integer deleteType;
    


}
